<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Test extends CI_Controller {

    function __construct()
    {
        parent::__construct();
    }

    function index()
    {
       $this->db->limit(1);
       $this->db->from('user');

        $query = $this->db->get();

      
        foreach ($query->result() as $row)
        {
            echo $row->username;
            echo $row->password;
            echo $row->salt;
            echo $row->isadmin;
        }
        
        }
      }

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */